<?php
namespace Home\Model;
use Think\Model;
class AdminModel extends Model {
    public function getAdminInfo($cond){
    	if(!$cond){
    		return false;
    	}
    	$res = M('admin')->join('ecm_user_priv on ecm_member.user_id = ecm_member.user_id')->where($cond)
    		->find();
    	return $res;
    }
}